namespace Model
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    public partial class V_CustAddress
    {
        [Key]
        [Column(Order = 0)]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public int Id { get; set; }

        [Key]
        [Column(Order = 1)]
        [StringLength(50)]
        public string Nam { get; set; }

        [Key]
        [Column(Order = 2)]
        [StringLength(32)]
        public string Province { get; set; }

        [Key]
        [Column(Order = 3)]
        [StringLength(32)]
        public string City { get; set; }

        [Key]
        [Column(Order = 4)]
        [StringLength(32)]
        public string District { get; set; }

        [Key]
        [Column(Order = 5)]
        [StringLength(32)]
        public string Information { get; set; }

        [Key]
        [Column(Order = 6)]
        [StringLength(32)]
        public string Phone { get; set; }

        [Key]
        [Column(Order = 7)]
        [StringLength(5)]
        public string IsDefault { get; set; }

        [Key]
        [Column(Order = 8)]
        public DateTime CreateTime { get; set; }

        [Key]
        [Column(Order = 9)]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public int Custid { get; set; }
    }
}
